//
//  AlbumCollectionViewCell.m
//  16-CollectionView-Album
//
//  Created by 王道林 on 16/8/4.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "AlbumCollectionViewCell.h"

@implementation AlbumCollectionViewCell


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubview];
    }
    return self;
}

- (void)createSubview
{
    _iamgeView = [[UIImageView alloc] init];
    [self.contentView addSubview:_iamgeView];
}


- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _iamgeView.frame = self.bounds;
}





@end
